export function transformReportEndTextName(type) {
  const typeNumber = Number(type);
  switch (typeNumber) {
    case 0:
      return "当天";
    case 1:
      return "前一天";
    case 2:
      return "前二天";
    case 3:
      return "前三天";
    case 4:
      return "前四天";
    case 5:
      return "前五天";
    default:
      return '';
  }
}
export function getMealIcon(type) {
  const typeNumber = Number(type);
  switch (typeNumber) {
    case 1:
      return {
        icon: "custom-icon-zaocan-weixuanzhong",
        selectedIcon: "custom-icon-zaocan-yixuanzhong",
      };
    case 2:
      return {
        icon: "custom-icon-wucan-weixuanzhong",
        selectedIcon: "custom-icon-wucan-yixuanzhong",
      };
    case 3:
      return {
        icon: "custom-icon-wancan-weixuanzhong",
        selectedIcon: "custom-icon-wancan-yixuanzhong",
      };
    case 4:
      return {
        icon: 'custom-icon-zaocan-weixuanzhong',
        selectedIcon: 'custom-icon-yexiao-yixuanzhong',
      };
    case 5:
      return {
        icon: 'custom-icon-a-Group3471',
        selectedIcon: 'custom-icon-a-Group3471-1',
      };
  }
}
